.moveLeft {
    animation: goLeft 0.5s ease forwards;
    -webkit-animation: goLeft 0.5s ease forwards;
    -moz-animation: goLeft 0.5s ease forwards;
    -o-animation: goLeft 0.5s ease forwards;
}

.moveRight {
    animation: goRight 0.5s ease forwards;
    -webkit-animation: goRight 0.5s ease forwards;
    -moz-animation: goRight 0.5s ease forwards;
    -o-animation: goRight 0.5s ease forwards;
}

@keyframes goLeft {
    from {
        left: 40px;
    }

    to {
        left: 0;
    }
}

@-moz-keyframes goLeft {
    from {
        left: 40px;
    }

    to {
        left: 0;
    }
}

@-o-keyframes goLeft {
    from {
        left: 40px;
    }

    to {
        left: 0;
    }
}

@-webkit-keyframes goLeft {
    from {
        left: 40px;
    }

    to {
        left: 0;
    }
}

@keyframes goRight {
    from {
        left: 0;
    }

    to {
        left: 40px;
    }
}

@-moz-keyframes goRight {
    from {
        left: 0;
    }

    to {
        left: 40px;
    }
}

@-o-keyframes goRight {
    from {
        left: 0;
    }

    to {
        left: 40px;
    }
}

@-webkit-keyframes goRight {
    from {
        left: 0;
    }

    to {
        left: 40px;
    }
}